local chizheng = fk.CreateSkill{
    name = "jinld__chizheng",
    tags = { Skill.Compulsory },
}

Fk:loadTranslationTable{
    ["jinld__chizheng"] = "持政",
    [":jinld__chizheng"] = "锁定技，当你交给其他角色牌后，你摸一张牌。",

    ["$jinld__chizheng1"] = "陛下于此道不明，本后且代为理政。",
    ["$jinld__chizheng2"] = "诏命皆从我出，诸君当知谁为这一国之主。",
}

chizheng:addEffect(fk.AfterCardsMove,{
    anim_type = "drawcard",
    can_trigger = function (self, event, target, player, data)
        if player.dead or not player:hasSkill(chizheng.name) then return end
        for _, move in ipairs(data) do
        if move.from == player and move.to and move.to ~= player and move.moveReason == fk.ReasonGive then
           return true
        end
      end
    end,
    on_use = function (self, event, target, player, data)
        player:drawCards(1, chizheng.name)
    end,
})

return chizheng